home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / boosters.arc / CENTER.PAS < prev    next >
Pascal/Delphi Source File  |  1980-01-01  |  888b  |  42 lines

  1. { ---------------
  2.   CENTER a string
  3.   --------------- }
  4.  
  5. Function CENTER ( A : AnyString;
  6.                   N : Integer;
  7.                   Pad : Char )  : AnyString;
  8.                   { AnyString is type String[255] }
  9.  
  10. begin
  11.   Inline ( $1E/
  12.            $8D/$9E/$08/$01/
  13.            $8B/$46/$06/
  14.            $36/$88/$07/
  15.            $43/
  16.            $8A/$4E/$08/
  17.            $30/$ED/
  18.            $29/$C8/
  19.            $77/$05/
  20.            $31/$C0/
  21.            $EB/$12/$90/
  22.            $D1/$E8/
  23.            $50/
  24.            $8B/$FB/
  25.            $8B/$46/$04/
  26.            $8B/$4E/$06/
  27.            $16/
  28.            $07/
  29.            $FC/
  30.            $F3/$AA/
  31.            $58/
  32.            $01/$C3/
  33.            $8B/$FB/
  34.            $8D/$76/$09/
  35.            $16/
  36.            $1F/
  37.            $8A/$4E/$08/
  38.            $30/$ED/
  39.            $FC/
  40.            $F3/$A4/
  41.            $1F);
  42. end;